@import '~ant-design-vue/dist/reset.css';
@import './layout.less';
@import './tag.less';
// @import './fonts.less';
@import '../fonts/iconfont.less';

// ant-d 样式重置
.entrance .ant-select-selector {
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
.ant-input {
  border-radius: 4px !important;
}
.ant-tree {
  font-size: 12px;
  font-family: 思源;
  font-weight: 500;
  color: #333333;
}
// 树形控件滚动条样式
.ant-tree-list-holder {
  // 滚动条样式
  &::-webkit-scrollbar {
    width: 4px;
    height: 6px;
    background: #e3e7e7;
    border-radius: 2px 2px 2px 2px;
  }
  &::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 20px;
    box-shadow: inset 0 0 2px #aaaaaa;
    background: #40a9ff;
  }

  &::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    border-radius: 20px;
    background: #ededed;
  }
}
// 重写table样式
.ant-table-thead > tr > th,
.ant-table-tbody > tr > td,
.ant-table tfoot > tr > th,
.ant-table tfoot > tr > td {
  padding: 8px 16px;
  font-family: 思源;
}
.ant-table {
  color: #2c2c2cd9;
}
.ant-popover-title {
  color: #2fa3a1;
}
// popover样式
.ant-popover-inner {
  width: 100%;
}
.popoverItem:hover {
  color: #2fa3a1;
  cursor: pointer;
}

.carInformation .ant-tabs > .ant-tabs-nav .ant-tabs-nav-list,
.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-list {
  padding-left: 20px;
}
.carInformation .ant-tabs-tab + .ant-tabs-tab {
  margin: 0 0 0 60px;
}
.ant-table-thead > tr > th {
  background-color: #1890ff;
  color: #fff;
}
.scrollTbsBox {
  margin-top: -16px;
}
.formEventVido .ant-form-item {
  margin-bottom: 10px !important;
}
body {
  background-color: #f7f8fa;
}
.AlarmTbs .ant-tabs-nav {
  margin-top: 20px;
  background-color: #fff;
  padding-left: 10px;
}

.dropdownBtn:hover {
  color: #2fa3a1;
}

#app {
  min-width: 1200px;
  min-height: 600px;
  height: 100%;
  .app-wrapper {
    height: 100%;
    position: relative;
  }
}
// marker点 label
.BMapLabel {
  border: 0 !important;
}
.label-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  box-shadow: 0px 0px 8px 1px rgba(0, 178, 166, 0.6);
  border-radius: 2px 2px 2px 2px;
  border: 1px solid #2fa3a1;
  padding: 6px 10px;
  box-sizing: border-box;
  .label-status {
    width: 20px;
    height: 20px;
    background: rgba(0, 178, 166, 0.2);
    border-radius: 2px 2px 2px 2px;
    font-size: 14px;
    font-family: 思源;
    font-weight: normal;
    margin-right: 12px;
    text-align: center;
    line-height: 20px;
    & > .status {
      font-size: 14px;
      font-family: 思源;
      font-weight: normal;
      color: #00b2a6;
    }
  }
}
// 滚动条样式
.ant-table-content::-webkit-scrollbar {
  width: 1px;
  height: 6px;
  background: #e3e7e7;
  border-radius: 2px 2px 2px 2px;
}
.ant-table-content::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 20px;
  // box-shadow: inset 0 0 5px #aaaaaa;
  background: #2fa3a1;
}

.ant-table-content::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  border-radius: 20px;
  background: #ededed;
}
.ant-input[disabled],
.ant-select-disabled.ant-select:not(.ant-select-customize-input)
  .ant-select-selector {
  color: #7c7c7c !important;
}
// 文件上传label前面的*
.fileBefore {
  position: relative;
  label::before {
    content: '*';
    color: #ff4d4f;
    position: absolute;
    left: -12px;
    top: 9px;
  }
}